package com.csu.letaobackend.config;
/* *
 *类名：AlipayConfig
 *功能：基础配置类
 *详细：设置帐户有关信息及返回路径
 *修改日期：2017-04-05
 *说明：
 *以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己网站的需要，按照技术文档编写,并非一定要使用该代码。
 *该代码仅供学习和研究支付宝接口使用，只是提供一个参考。
 */

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class AlipayConfig {

//↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

    // 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
    public static String app_id = "2021000119638227";

    // 商户私钥，您的PKCS8格式RSA2私钥
    public static String merchant_private_key = "MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDP8XSOGqleCLBzvfteDpP9DjBRQ3g5Z8EsJMJLuBzMkQSG5lde+eDPAd0pMDpBHDEKEAeJOksXmS9tgTFwE+rgs9lflaE2CWpFdXOcQJgZL4MKPgF//azFeqmfRvNFP7CU1oY74mJh5+T1xwUwT4W0D7XCyuhWyoYY5xYcfYLGVMLJHjfbmnCEIKSyE+HaFoc4LatNYBKDCPer/Dc3po7XiKynpLEafurIk/ll3XV8esVag9IvoDuksveNi1zN/+CSImSsiC5edmoqHXgKehoDutjYb5YjvYagiIB6IoD+8xqwzp0Pew8MN/5s88UM2DKlA6qCro/JeGYSZF9+8B+fAgMBAAECggEBAI89u9V75jmhcLN6JmLnVegW0w/Xk0SwBTB8bd8tB6GfL+ghWgRRyxuuJAQQdcCOQ/Wzjw1nu3yZCEO9oCmdfsmk+lNOxotrtun7+1SiZmPLB9CRYAUj4NT0J05R2JhWRDRzBmrQCod4746itx9NWEPuIn35uky3G+KhpOihSOmHEdOoZSqLBFn+etMaRAvx3ni7Ug+wAD6DJGpPe1KZjHbpudjgW2/f7wzVemIhSc3bHfYqy+NFX0WxUwh0vOpOOYW8PKvUyCZyrNF9kU7c2RCHGTfSUPLDrSBum2PTtZHdVqu6kfOrdoaRdr+2WisGdIcXk4y+7yEzYJH/UP6MlCECgYEA7hQqO3Q1wNYJbsDQgNTpNagN7tIranM+Sg+ee7VY+NR2/d+Yx5Q5HDy8l6AoimjB1xlGkhMsiVdzrvWAuhuVSWeUy2E+j09U4I5EMLq5BaDf++WOufwzfzEIU5MeYZw1vx8pcqObTcHJO8R6sxgtsG+wnz9ZJDbuGV3QBiRKy48CgYEA35iSBAUWIb0f2pAUZDNDOj3zxew83L0idbC2gJubKN9nzcMj6gWvBRZquGePL7UrxHMOl6AZeVE92bezr5SQwTVZ8V6mcZolrPJ3GUCZ+ETj9c8mg3LTDNmyInF99BwnAQDMm04UCXo/Uulzs2Pv4Tu/pN3q6OL5nXm8c6HqovECgYA6FIlI/8ytQooCjt9OzqImCN19SaB10696edz76P3PlmWBAa9P4QUdsmN/yf6Z5XyEcRIaSLswtjjukc3ZmSkOQ0q1Yv/UDlJyhcJ08Nh6WwjJdvMexDv754ZUfSuIPIeQHJYL9YXJrmDdR813K4rZ5CV+dAHXJ99mKNC67tegWQKBgQDaV4V2sXTcO2+ooXuYIUrry+WJh9gjAfptjMOasNkCP66BCqa+dxBi2nIaYt47CyKTMnu0at2VT1UjjrTDp0L3uN58yh2k348c5KSSnzf7bWJh/ggw4mbfrJG7+rGxN/CKlTo4CjWcz6iYkWmvas6rVgodt6sWAdcZBPCWxi13MQKBgQCD97tKjNfEgOCJ7aLXtfjkDijtekEF8kkReAo9yoMynFn6s7LM2RTFrqJwvMJdYPZeQitFXBC7iWbgf5jSVK69ryJi0O1uk0wG5rx02es7f87UYhj+QH+YMNpW2o2vi0NXcmuCwYtW+6eyK3U0h5Rb83TJc5VpFiyaP7+9A977/A==";

    // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAg70TJQdPsmPU9dH0gkxBAmNzlY7yiJc27seuwVucptKCtN88tQgejbWZ01T1XBSswDDll1Vgrr4Rq7BH57FZ6k8z8dD0yzNwk+hbqPTyK1I2JkAMb70CpC3Sx2w8lavwY5SHJ3LaIuLHw+sbkwWNNrA25HWCXucZ/r8araO2qsiUGPXtcql56gz50vT15Gnyig/GKwMZdhd0OhngGxRaZXATmze1Rmh5sJUy6SkzarIfAk/RebyRsvEUkQN8KJEpHlUqnnsEeBACA+br81vh5Ia8syyrwevtOJcT/ysbqP6fOiz2V8cQib+/TKbJL0niBgFfrwM1hIzG0ZUYjZ5QzQIDAQAB";

    // 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String notify_url = "http://localhost:8088/api/orders/notify";

    // 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String return_url = "http://localhost:8888/view/order_detail.html?orderID=";

    // 签名方式
    public static String sign_type = "RSA2";

    // 字符编码格式
    public static String charset = "utf-8";

    // 支付宝网关
    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";


//↑↑↑↑↑↑↑↑↑↑请在这里配置您的基本信息↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑

}
